﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface InventorySI
    {
        //分页模糊查询
        Task<List<sys_inventory>> FenYe(int pageSize, int currentPage, string code = null, int? result = null, int? type = null, int? wid = null);
        //逻辑删除
        Task<int> UpdIsDelete(int id, bool isDeleted);
        //添加
        Task<int> Add(sys_inventory add);
        //审核
        Task<int> RkShen(sys_inventory shen, string to);
        //撤回
        Task<int> UpdShen(int id, int shen);
        //修改
        Task<int> Upd(sys_inventory sys_inventory);
    }
}
